From e4813816b2633ae4ec58f1e23b6f675ac009d5dc Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Thu, 25 May 2006 16:00:09 +0100 Subject: [PATCH] Fix x86/64 build after previous changeset. Signed-off-by: Keir Fraser --- xen/arch/x86/x86_emulate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/x86_emulate.c b/xen/arch/x86/x86_emulate.c index b978ae1ef8..c829128e91 100644 --- a/xen/arch/x86/x86_emulate.c +++ b/xen/arch/x86/x86_emulate.c @@ -1103,7 +1103,7 @@ x86_emulate_memop( #elif defined(__x86_64__) { unsigned long old, new; - if ( (rc = ops->read_emulated(cr2, &old, 8)) != 0 ) + if ( (rc = ops->read_emulated(cr2, &old, 8, ctxt)) != 0 ) goto done; if ( ((uint32_t)(old>>0) != (uint32_t)_regs.eax) || ((uint32_t)(old>>32) != (uint32_t)_regs.edx) ) @@ -1115,7 +1115,7 @@ x86_emulate_memop( else { new = (_regs.ecx<<32)|(uint32_t)_regs.ebx; - if ( (rc = ops->cmpxchg_emulated(cr2, old, new, 8)) != 0 ) + if ( (rc = ops->cmpxchg_emulated(cr2, old, new, 8, ctxt)) != 0 ) goto done; _regs.eflags |= EFLG_ZF; } -- 2.30.2